﻿#ifndef QIT_VIEW_CDEVICECONTROLWIDGET_H_
#define QIT_VIEW_CDEVICECONTROLWIDGET_H_

#include <QWidget>

class CPanelLogger;
class CPanelDeviceList;
class CPanelDashboard;
class CPanelExtraTools;
class CDeviceSettingsWidget;

class CDeviceControlWidget : public QWidget
{
    Q_OBJECT
public:
    CDeviceControlWidget(QWidget *parent = nullptr);
    ~CDeviceControlWidget();

    void SetUp();

public slots:
    void eventDeviceChanged(QString list);
    void eventConfigDevices();
    void eventDeviceConfigChanged();
    void eventImportConfigFile(QString filename);
    void eventExportConfigFile(QString filename);

private:
    CPanelLogger *panel_logger_;
    CPanelDeviceList *panel_device_;
    CPanelDashboard *panel_dashboard_;
    CPanelExtraTools *panel_extra_;
    CDeviceSettingsWidget *wnd_settings_;
};

#endif  // QIT_VIEW_CDEVICECONTROLWIDGET_H_
